from advanced_alchemy import service
from src.models.{{ table_name }}_model import {{ model_name }}
from src.crud.{{ table_name }}_repository import {{ model_name }}Repo


class {{ model_name }}Service(service.SQLAlchemyAsyncRepositoryService[{{ model_name }}, {{ model_name }}Repo]):
    repository_type = {{ model_name }}Repo
    count_with_window_function = True